home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Agent Central Host Computer
/
Agent - Central Host Computer.iso
/
_SETUP.1
/
vbpmoneydet.sql
< prev
next >
Wrap
Text File
|
2000-05-12
|
974b
|
33 lines
/*
shows the detail for the accepted cash for a probe and particular cashbox together
with the total of the cash accepted since the change of cashbox. ( cscurcnt)
*/
CREATE OR REPLACE VIEW VBPMONEYDET AS
select vsumcscurcnt.conversion_num,
vsumcscurcnt.close_count,
vsumcscurcnt.cashbox_glid,
vsumcscurcnt.totalcash,
vcuraccdetail.probedcash,
vcuraccdetail.cents_$,
vcuraccdetail.nickels_$,
vcuraccdetail.dimes_$,
vcuraccdetail.quarters_$,
vcuraccdetail.halfs_$,
vcuraccdetail.sbas_$,
vcuraccdetail.cents_$ +vcuraccdetail.nickels_$ +
vcuraccdetail.dimes_$ + vcuraccdetail.quarters_$ +
vcuraccdetail.halfs_$ +
vcuraccdetail.sbas_$ coin_total,
vcuraccdetail.ones_$,
vcuraccdetail.fives_$,
vcuraccdetail.tens_$,
vcuraccdetail.twenties_$,
vcuraccdetail.ones_$ +
vcuraccdetail.fives_$+
vcuraccdetail.tens_$ +
vcuraccdetail.twenties_$ bill_total
from vsumcscurcnt, vcuraccdetail
where vsumcscurcnt.close_count = vcuraccdetail.close_count (+);